package com.erp.service;

import com.erp.entity.Perms;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pyj
 * @since 2020-11-07
 */
public interface PermsService{

    Perms findPermsByName(String name);

    List<Perms> getAll();

    int add(Perms perms);

    int delete(Integer id);

    int update(Perms perms);
}
